//全局批量导入vant 组件
import {
    NavBar,
    PullRefresh,
    Button,
    Form,
    Toast,
    Notify,
    Icon,
    ActionSheet,
    List,
    Dialog,
    Empty,
    Image as VanImage,
    Loading,
    CellGroup,
    Cell,
    Overlay,
    Field,
    Uploader,
    ImagePreview,
    CheckboxGroup,
    Checkbox,
    Col,
    Row,
    DatetimePicker,
    RadioGroup,
    Radio,
    Popup,
    NumberKeyboard,
    Circle,
    CountDown,
    DropdownMenu
} from 'vant'

export default function (Vue:any) {
    //全局注册vant引用组件
    Vue.use(NavBar)
    Vue.use(PullRefresh)
    Vue.use(Button)
    Vue.use(Form)
    Vue.use(Toast)
    Vue.use(Notify)
    Vue.use(Icon)
    Vue.use(ActionSheet)
    Vue.use(List)
    Vue.use(Dialog)
    Vue.use(Empty)
    Vue.use(VanImage)
    Vue.use(Loading)
    Vue.use(CellGroup)
    Vue.use(Cell)
    Vue.use(Overlay)
    Vue.use(Field)
    Vue.use(Uploader)
    Vue.use(ImagePreview)
    Vue.use(DatetimePicker)
    Vue.use(CheckboxGroup)
    Vue.use(Checkbox)
    Vue.use(Col)
    Vue.use(Row)
    Vue.use(RadioGroup)
    Vue.use(Radio)
    Vue.use(Popup)
    Vue.use(NumberKeyboard)
    Vue.use(Circle)
    Vue.use(CountDown)
    Vue.use(DropdownMenu)
}
